package com.matt.foundation.vo.nursery;

import com.matt.domain.course.CoursePlanClasses;
import com.matt.domain.nursery.NurseryScheduleRecord;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * *******************************
 * Created by lch.
 * form com.matt
 * on 2018/12/20
 * *******************************
 */
@Data
public class PrintScheduleVo {

    private String classesName;

    private String areaName;

    private Date lessonDate;

    private List<CoursePlanClasses> coursePlanClassesList;

    private List<NurseryScheduleRecord> nurseryScheduleRecordList = new ArrayList<>();

    public static  PrintScheduleVo of(String classesName,String areaName,Date lessonDate,List<NurseryScheduleRecord> nurseryScheduleRecordList,List<CoursePlanClasses> coursePlanClassesList){
        PrintScheduleVo vo = new PrintScheduleVo();
        vo.setClassesName(classesName);
        vo.setAreaName(areaName);
        vo.setLessonDate(lessonDate);
        vo.setNurseryScheduleRecordList(nurseryScheduleRecordList);
        vo.setCoursePlanClassesList(coursePlanClassesList);
        return vo;
    }
}
